class OverViewModel {
  String msg;
  num resCode;
  OverViewData resObj;
  OverViewModel({
    this.msg,
    this.resCode,
    this.resObj
  });

  OverViewModel.fromJson(Map < String, dynamic > json):
        msg=json['msg'],
        resCode=json['resCode'],
        resObj=OverViewData.fromJson(json['resObj']);
  Map <String, dynamic> toJson() => {
    'msg':msg,
    'resCode':resCode,
    'resObj':resObj?.toJson()
  };
}

class OverViewData {
  String totalRegistCount;
  String lossCount;
  String profitAmount;
  bool isMothTotalData;
  String use;
  num depositCount;
  num depositFirstCount;
  String totalFirstAmount;
  String totalAtmAmount;
  String weenHour;
  String totalValidAmount;
  String totalDepositAmount;
  String totalSecondAmount;
  String beginTime;
  String endTime;
  String nowDate;
  OverViewData({
    this.totalRegistCount,
    this.lossCount,
    this.profitAmount,
    this.isMothTotalData,
    this.use,
    this.depositCount,
    this.totalFirstAmount,
    this.totalAtmAmount,
    this.weenHour,
    this.totalValidAmount,
    this.totalDepositAmount,
    this.totalSecondAmount,
    this.beginTime,
    this.endTime,
    this.depositFirstCount,
    this.nowDate,
  });

  OverViewData.fromJson(Map < String, dynamic > json):
        totalRegistCount=json['totalRegistCount'],
        lossCount=json['lossCount'],
        profitAmount=json['profitAmount'],
        isMothTotalData=json['isMothTotalData'],
        use=json['use'],
        depositCount=json['depositCount'],
        depositFirstCount=json['depositFirstCount'],
        totalFirstAmount=json['totalFirstAmount'],
        totalAtmAmount=json['totalAtmAmount'],
        weenHour=json['weenHour'],
        totalValidAmount=json['totalValidAmount'],
        totalDepositAmount=json['totalDepositAmount'],
        totalSecondAmount=json['totalSecondAmount'],
        beginTime=json['beginTime'],
        nowDate=json['nowDate'],
        endTime=json['endTime'];
  Map <String, dynamic> toJson() => {
    'totalRegistCount':totalRegistCount,
    'lossCount':lossCount,
    'profitAmount':profitAmount,
    'isMothTotalData':isMothTotalData,
    'use':use,
    'depositCount':depositCount,
    'depositFirstCount':depositFirstCount,
    'totalFirstAmount':totalFirstAmount,
    'totalAtmAmount':totalAtmAmount,
    'weenHour':weenHour,
    'totalValidAmount':totalValidAmount,
    'totalDepositAmount':totalDepositAmount,
    'totalSecondAmount':totalSecondAmount,
    'beginTime':beginTime,
    'endTime':endTime,
    'nowDate': nowDate
  };
}